﻿
using Newtonsoft.Json;

namespace RaspberryDebugger
{
    /// <summary>
    /// Describes a specific Raspberry board as described <a href="https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md">here</a>.
    /// </summary>
    internal class RaspberryModel
    {
        /// <summary>
        /// The board revision code.
        /// </summary>
        [JsonProperty(PropertyName = "Code", Required = Required.Always)]
        public string Code { get; set; }

        /// <summary>
        /// The board model.
        /// </summary>
        [JsonProperty(PropertyName = "Model", Required = Required.Always)]
        public string Model { get; set; }

        /// <summary>
        /// The board revision.
        /// </summary>
        [JsonProperty(PropertyName = "Revision", Required = Required.Always)]
        public string Revision { get; set; }

        /// <summary>
        /// The board RAM.
        /// </summary>
        [JsonProperty(PropertyName = "Ram", Required = Required.Always)]
        public string Ram { get; set; }

        /// <summary>
        /// The board manufacturer.
        /// </summary>
        [JsonProperty(PropertyName = "Manufacturer", Required = Required.Always)]
        public string Manufacturer { get; set; }
    }
}
